import javax.swing.*;
import java.awt.*;

public class Project2 extends JFrame {

   public static void main(String[] args) {

      Project2 app = new Project2();
      app.setTitle("Wireframe w/o OPENGL");
      Project2Panel panel = new Project2Panel();
      app.addKeyListener(panel);
      app.getContentPane().add(panel);       
      app.getContentPane().setPreferredSize(new Dimension(500, 500));      
      app.pack(); 
      app.setVisible(true);
      app.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

   }


}